package com.sy.bean.pucharse.excel;

import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode
@ContentRowHeight(20)
@HeadRowHeight(30)
@ColumnWidth(25)
public class GoodsExcel {
    @ApiModelProperty("商品id")
    int id;
    @ApiModelProperty("商品类别")
    String categoryCode;
    @ApiModelProperty("商品编码")
    String code;
    @ApiModelProperty("商品名称")
    String name;
    @ApiModelProperty("规格型号")
    String spec;
    @ApiModelProperty("单位")
    String unit;
    @ApiModelProperty("零售价")
    String price;
    @ApiModelProperty("预计采购价")
    String purchasePrice;
    @ApiModelProperty("状态：0不启用  1启用")
    String isWarning;
    @ApiModelProperty("所属企业id")
    String eid;
    @ApiModelProperty("期初总价")
    double total;
    @ApiModelProperty("单位成本")
    double priceCB;
    @ApiModelProperty("期初数量")
    int num;
}
